﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace LayoutTemplate
{
    public partial class WebForm12 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if ((Session["ID"].ToString() == "") || (int.Parse(Session["TinhTrang"].ToString()) != 3))
                Response.Redirect("TrangLoi.aspx?Error=9");
        }

        protected void Button3_Click(object sender, EventArgs e)
        {
            int id = int.Parse(Request.QueryString["id"]);
            switch (id)
            {
                case 1:
                    Response.Redirect("AdminDangKyThanhVien.aspx");
                    break;
                case 2:
                    Response.Redirect("AdminDangKyDoanhNghiep.aspx");
                    break;
            }
        }
    }
}
